package Test_3;

public class Jisuanji_test {
    public static void main(String[] args) {
        Jisuanji p=new Jisuanji();
        p.name="卡西欧";
        p.color="黑色";
        p.price=30;
        float a=p.jia(3.0f,2.0f);
        System.out.println(a);
        float b=p.jian(3.0f,2.0f);
        System.out.println(b);
        float c=p.cheng(2.0f,3.0f);
        System.out.println(c);
        float d=p.chu(4.0f,2.0f);
        System.out.println(d);
        float e=p.lifang(3.0f);
        System.out.println(e);
    }
}
